//
//  LoginData.h
//  DA_V
//
//  Created by 周季阳 on 15/5/12.
//  Copyright (c) 2015年 zhouhai. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol LoginDelegate <NSObject>

@optional

-(void)login:(NSDictionary *)sign;//登录接口返回
-(void)sendMessage:(NSDictionary *)sign;//发送验证码返回
-(void)verifyMessage:(NSDictionary *)sign;//验证码返回
-(void)updataPassword:(NSDictionary *)sign;//重置密码返回
-(void)checkwx:(NSDictionary *)sign;//微信验证接口
-(void)bindwx:(NSDictionary *)sign;//微信登陆
-(void)version:(NSDictionary *)sign;//版本检测
//获取失败
-(void)requistFail;
@end

@interface LoginData : NSObject

@property (nonatomic ,retain) id<LoginDelegate>delegate;

//登录
-(void)loginMobileNumber:(NSString *)MobileNumber andLoginPass:(NSString *)LoginPass andDeviceType:(NSString *)DeviceType andDeviceNumber:(NSString *)DeviceNumber andLastLoginIP:(NSString *)LastLoginIP;
//发送验证码
-(void)sendMessageNumber:(NSString *)MobileNumber andServiceID:(NSString *)ServiceID;
//验证验证码
-(void)verifyMessageCode:(NSString *)CodeID andUserCode:(NSString *)UserCode andServiceID:(NSString *)ServiceID;
//重置密码
-(void)updataPassword:(NSString *)AgentID  andNewLoginPass:(NSString *)NewLoginPass andReNewLoginPass:(NSString *)ReNewLoginPass;
//微信验证接口
-(void)checkwx:(NSString *)OpenID;
//微信登陆
-(void)bindwx:(NSString *)OpenID andMobileNumber:(NSString *)MobileNumber andLoginPass:(NSString *)LoginPass;
//版本检测
-(void)version:(NSString *)Version andDeviceType:(NSString *)DeviceType;
@end

